package com.atguigu.day03.homework;

public class HomeWork6 {
    public static void main(String[] args) {
        int a = 3, b = 1;
        //System.out.println((a = b)? "Equal" : "Not Equal");报错：=为赋值运算符，a=b 表示将b的值赋给a，结果依旧为int型所以无法判断
        System.out.println((a == b)? "Equal" : "Not Equal");//正确写法应该为a==b
    }
}
